import Vue from 'vue'
import App from './App.vue'
import router from './router'
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
import '@/assets/css/base.css';
import {request} from "@/api/index"
import Store from "@/Store/index"
import shortcut from "@/components/common/shortcut"   //首页选项框
import Singles from "@/components/common/Singles"    //封装歌单  有名字  例子 推荐歌单
import songList from "@/components/common/songList"  //封装歌单
Vue.component("shortcuts",shortcut)
Vue.component("songList",songList)
Vue.component("Singles",Singles)
Vue.prototype.$Store=Store
Vue.prototype.$request=request
Vue.use(ElementUI);
Vue.config.productionTip = false
new Vue({
  router,
  beforeCreate() {
    Vue.prototype.$bus = this
  },
  render: h => h(App)
}).$mount('#app')
